﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessTier.Facade.Interface;
using BusinessTier.Facade.Implementation;

namespace WebMVC.Areas.AdminPanel.Controllers
{
    public class PaperController : Controller
    {
        private IProductService productService;
        

        public PaperController() : this(new ProductService())
        {
            
        }

        public PaperController(IProductService productService)
        {
            this.productService = productService;
        }
        public ActionResult Index()
        {
            return View(productService.GetAllPrintMedias());
        }

    }
}
